package com.yx.exception.vo;

/**
 * @Classname StockException
 * @Date 2021/07/21 19:04
 * @Author by yx
 * @Description TODO:
 */

import com.yx.exception.StockMsg;

/**
 * 扣减库存失败
 */
public class StockException extends BusinessException {

    public StockException(StockMsg stockMsg) {
        super(stockMsg.getCode(), stockMsg.getMsg());
    }
}
